﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Service.BusinessLayer.Entities
{
    public class KhachHang
    {
        int makh;

        public int Makh
        {
            get { return makh; }
            set { makh = value; }
        }
        string hokh;

        public string Hokh
        {
            get { return hokh; }
            set { hokh = value; }
        }
        string tenkh;

        public string Tenkh
        {
            get { return tenkh; }
            set { tenkh = value; }
        }
        bool gioitinh;

        public bool Gioitinh
        {
            get { return gioitinh; }
            set { gioitinh = value; }
        }
        string diachi;

        public string Diachi
        {
            get { return diachi; }
            set { diachi = value; }
        }
        string sdt;

        public string Sdt
        {
            get { return sdt; }
            set { sdt = value; }
        }
        string tentaikhoan;

        public string Tentaikhoan
        {
            get { return tentaikhoan; }
            set { tentaikhoan = value; }
        }
        string matkhau;

        public string Matkhau
        {
            get { return matkhau; }
            set { matkhau = value; }
        }
        public KhachHang() { }

        public KhachHang(string ho, string ten, bool gt, string dc, string sodt, string tk, string mk)
        {
            this.Hokh = ho;
            this.Tenkh = ten;
            this.Gioitinh = gt;
            this.Diachi = dc;
            this.Sdt = sodt;
            this.Tentaikhoan = tk;
            this.Matkhau = mk;
            
        }
        public KhachHang(int ma,string ho, string ten, bool gt, string dc, string sodt, string tk, string mk)
        {
            this.Makh = ma;
            this.Hokh = ho;
            this.Tenkh = ten;
            this.Gioitinh = gt;
            this.Diachi = dc;
            this.Sdt = sodt;
            this.Tentaikhoan = tk;
            this.Matkhau = mk;

        }
        public KhachHang(KhachHang kh)
        {
            this.Makh = kh.Makh;
            this.Hokh = kh.Hokh;
            this.Tenkh = kh.Tenkh;
            this.Gioitinh = kh.Gioitinh;
            this.Diachi = kh.Diachi;
            this.Sdt = kh.Sdt;
            this.Tentaikhoan = kh.Tentaikhoan;
            this.Matkhau = kh.Matkhau;
        }
     
    }
}
